package ru.ya.kolemik.servcmd.servs;

import ru.ya.kolemik.servcmd.View;

public class ServContext {
    public static final String REQUEST_ATTRIBUTE_NAME = "context";
    
    public View.type viewType;
    
    private final String startCommand;
    
    public ServContext(String startCommand) {
        if (startCommand == null) {
            this.startCommand = "";
        } else {
            this.startCommand = startCommand;
        }
    }
    
    public String getStartCommand() {
        return startCommand;
    }
    
    public View.type getViewType() {
        return viewType;
    }

    public void setViewType(View.type viewType) {
        this.viewType = viewType;
    }
}
